package com.example.orderservice.service;

import com.example.orderservice.mapper.OrderMapper;
import com.example.orderservice.model.OrderInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderService {
    @Autowired
    private OrderMapper orderMapper;

    public OrderInfo selectOrderInfoById(Integer id) {
        return orderMapper.selectOrderInfoById(id);
    }
}
